package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.zzyl.nursing.dto.FamilyMemberElderDto;
import com.zzyl.nursing.vo.ElderFamilyPageVo;
import com.zzyl.nursing.vo.FimalyVo;

import java.util.List;

public interface IFamilyMemberElderService extends IService<FamilyMemberElder> {

    /**
     * 绑定老人
     * @param dto
     */
    void bindingElder(FamilyMemberElderDto dto);

    /**
     * 查询我绑定的老人信息
     */
    List<FimalyVo> my();

    /**
     * 分页查询
     */
    List<ElderFamilyPageVo> listByPage();

}
